reference counting

reference counting
= reference counting technique
подсчёт ссылок
алгоритм сборки мусора, ведущий для каждого объекта программы подсчёт текущего числа других объектов, которые на него ссылаются. Если это число становится равным нулю, память соответствующего объекта можно безопасно освободить, а общее число ссылок каждого из ссылающихся на него других объектов уменьшить на единицу, однако, если у какого-то из них счётчик ссылок тоже обнулится, то процедура просмотра повторяется и может повторяться неопределённое число раз, поэтому данный алгоритм не рекомендуется для систем реального времени. У этого алгоритма возникают также проблемы с объектами, ссылающимися друг на друга по кольцу, так как у них число ссылок никогда не бывает меньше 1
см. тж. garbage collection

Англо-русский толковый словарь терминов и сокращений по ВТ, Интернету и программированию. . 1998-2007.

Игры ⚽ Поможем решить контрольную работу

Смотреть что такое "reference counting" в других словарях:

  • Reference counting — In computer science, reference counting is a technique of storing the number of references, pointers, or handles to a resource such as an object or block of memory. It is typically used as a means of deallocating objects which are no longer… …   Wikipedia

  • Reference-Counting — Unter Referenzzählung (engl. reference counting) versteht man in der Programmierung eine Technik zur Verwaltung der Anzahl der Verweise (Referenzen oder Zeiger) auf ein bestimmtes Objekt. Das primäre Ziel ist dabei, zu erkennen, wann ein Objekt… …   Deutsch Wikipedia

  • Reference counting — Unter Referenzzählung (engl. reference counting) versteht man in der Programmierung eine Technik zur Verwaltung der Anzahl der Verweise (Referenzen oder Zeiger) auf ein bestimmtes Objekt. Das primäre Ziel ist dabei, zu erkennen, wann ein Objekt… …   Deutsch Wikipedia

  • Reference Counter — Unter Referenzzählung (engl. reference counting) versteht man in der Programmierung eine Technik zur Verwaltung der Anzahl der Verweise (Referenzen oder Zeiger) auf ein bestimmtes Objekt. Das primäre Ziel ist dabei, zu erkennen, wann ein Objekt… …   Deutsch Wikipedia

  • Counting coup — refers to the winning of prestige in battle, rather than having to prove a win by injuring one s opponent. Its earliest known reference is from Shakespeare s Hamlet (Act 5, Scene 2) where Laertes and Hamlet conduct a mock swordfight before King… …   Wikipedia

  • Reference range — Reference ranges edit in: blood urine CSF feces In health related fields, a reference range or reference interval usually describes the variations of a measurement or value in healthy i …   Wikipedia

  • Counting sheep — Sheep on a paddock Counting Sheep redirects here. For the Collin Raye album, see Counting Sheep (album). Counting sheep is a mental exercise used in some cultures as a means of lulling oneself to sleep. In most depictions of the activity, the… …   Wikipedia

  • counting sheep — Meaning Attempting to get to sleep. Origin A reference to the distraction technique used to counter insomnia …   Meaning and origin of phrases

  • counting upon a statute — In pleading, making express reference to a statute; as by the words, against the form of the statute, or by force of the statute, in such case made and provided. Hart v Baltimore & Ohio Railroad Co. 6 W Va 336, 348 …   Ballentine's law dictionary

  • Weak reference — In computer programming, a weak reference is a reference that does not protect the referent object from collection by a garbage collector. An object referenced only by weak references is considered unreachable (or weakly reachable ) and so may be …   Wikipedia

  • Circular reference — A circular reference is a series of references where the last object references the first, resulting in a closed loop. Contents 1 In language 2 In business 3 In computer programming 4 …   Wikipedia


Поделиться ссылкой на выделенное

Прямая ссылка:
Нажмите правой клавишей мыши и выберите «Копировать ссылку»